package com.xuecheng.content.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @description: 课程不属于当前机构
 * @author 勾新杰
 * @version 1.0
 * @date 2024/12/20 17:44
 */
public class CourseNotBelongException extends XCPlusBaseException {

    CourseNotBelongException(){
        super(ContentError.COURSE_NOT_BELONG_COMPANY.getErrMessage());
    }

    public static void cast() {
        throw new CourseNotBelongException();
    }
}
